#include "core/file/JsonFileParser.h"
// #include "JsonFileParser.h"

JsonFileParser::JsonFileParser(QObject *parent):
    QObject(parent)
{
}

JsonFileParser::~JsonFileParser()
{
}

void JsonFileParser::initJsonParser(const QString &jsonFilePath)
{
    jsonFile = new QFile(jsonFilePath);

    if(!jsonFile->open(QIODevice::ReadWrite)){
        qDebug() << "Failed to open file: " << jsonFilePath;
        return;
    }

    QByteArray jsonData = jsonFile->readAll();
    QJsonParseError error;
}
